<?php

namespace IDock\Visitor;

class UploadFileVisitor
{
    /**
     * 总投保单号
     * @var string $inquiryNo
     */
    public $inquiryNo = '';

    /**
     * 商业险投保单号
     * @var string $biInquiryNo
     */
    public $biInquiryNo = '';

    /**
     * 交强险投保单号
     * @var string $ciInquiryNo
     */
    public $ciInquiryNo = '';

    public $fileList = [];

    public function fileAppend(string $type, string $fileUrl = '', string $base64 = '')
    {
        $this->fileList[] = [
            'type' => $type,
            'url' => $fileUrl,
            'base64' => $base64
        ];
    }

    public function getFileList(): array
    {
        return $this->fileList;
    }

    /**
     * 其他参数
     * @var array $argc
     */
    public $argc = [];
}